<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
 <%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    
    <meta http-equiv="Page-Enter" content="revealTrans(Duration=1.0,Transition=0)">
    <title>动态 - ichange</title>
    .jsp
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
</head>
	<link href="./show_files/course_display.css" rel="stylesheet"
		type="text/css">
	<link type="text/css" href="./show_files/wokaobox.css" rel="stylesheet"
		charset="utf-8" media="screen">
	<link href="./show_files/bdsstyle.css" rel="stylesheet" type="text/css">
	<link rel="stylesheet" type="text/css" href="data:text/css,">
	<link href="./user_center_files/fresh_news.css" rel="stylesheet"
		type="text/css">
	<link href="./show_files/course_display.css" rel="stylesheet"
		type="text/css">
	<link href="./user_center_files/bar.css" rel="stylesheet"
		type="text/css" />

	<link type="text/css" href="./user_center_files/wokaobox.css"
		rel="stylesheet" charset="utf-8" media="screen">
	<script type="text/javascript" async="" src="./user_center_files/ga.js">
</script>
	<script src="./user_center_files/less-1.3.0.min.js"
		type="text/javascript" charset="utf-8">
</script>
	</head>
	<link rel="stylesheet" type="text/css" href="data:text/css,">

	<body id="fresh_news">
		<img id="theImg2"
			style=" position: fixed; width: 50px; height: auto; z-index: 2147483647; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; right: 20px; top: 50%; margin-top: 2px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; cursor: pointer; display: block; opacity: 0.5;"
			src="./public/arrow_blue2.png" title="到最底部" onclick="window.scrollTo(0,99999)">
		<img id="theImg"
			style="position: fixed; width: 50px; height: auto; z-index: 2147483647; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; right: 20px; top: 50%; margin-top: -25px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; cursor: pointer; opacity: 0.5;"
			src="./public/arrow_blue.png" onclick="window.scrollTo(100,0)" title="到最顶部">

<script type="text/javascript" src="http://aui.github.com/artTemplate/template.js"></script>
		<script src="./user_center_files/jquery-1.7.min.js"
			type="text/javascript" charset="utf-8">
</script>
		<script type="text/javascript">
$(function() {
	//$.global.getNewMessages();
});
</script>

		
		
		<jsp:include page="header.jsp"></jsp:include>



		<div class="bar" style="background-color: ">
			<div class="bar_body">
				<div>
					<span><img class="bar_home" alt=""
							src="./user_center_files/bar/pcenter.png" /> </span>
				</div>




				<div class="bar_warehouse">
					<span><img alt=""
							src="./user_center_files/bar/warehouse.png" /> </span>

				</div>
				<div class="bar_wint">

					<span><img alt="" src="./user_center_files/bar/want.png" />
					</span>
				</div>




			</div>

		</div>
		<div
			style="text-align: center; margin: 0 auto; background-color: ; width: 900px;">
			<div
				style="text-align: left; background-color: ; float: right; height: 500px; width: 250px; margin: 0 auto; margin-right: -200px; margin-top: 200px;">
				<div
					style="background-color: ; margin-bottom: 15px; border: border :     #000 solid 1px; width: 150px;">
					<h21>
					好友动态
					</h21>
					<div style="background-color: #952C2B; height: 5px; width: 90px;"></div>
					<h2></h2>
				</div>
				<div
					style="background-color: ; margin-bottom: 15px; border: border :     #000 solid 1px; width: 150px;">
					<h21>
					与我相关
					</h21>
					<div style="background-color: ; height: 5px; width: 90px;"></div>


				</div>
				<h21>
				好友:
				</h21>
				(总共：100)

				<div class="side_content fr"
					style="background-color: ; width: 200px; border-top: 1px solid #AEAEAE; height: 100px; wide: 100px; margin-bottom: 20px; border-right: 1px solid #AEAEAE; border-left: 1px solid #AEAEAE;">

					<div id="followers">
						<ul class="follower_list cf">
							<!-- <li class="follower fl" title="卓远然"
								style="margin-right: 10px; margin-bottom: 10px;">
								<a href="/6141440164"> <img
										src="./profile_files/d29b322692eb441e92321870665e62a9.jpg"
										width="40" height="40"> <input type="hidden" name="id"
										value="6141440164"> </a>
								<div>
									卓远然
								</div>
							</li>
							<li class="follower fl" title="卓远然"
								style="margin-right: 10px; margin-bottom: 10px;">
								<a href="/6141440164"> <img
										src="./profile_files/d29b322692eb441e92321870665e62a9.jpg"
										width="40" height="40"> <input type="hidden" name="id"
										value="6141440164"> </a>
								<div>
									卓远然
								</div>
							</li>
 -->
						</ul>

					</div>



				</div>
				<div style="height: 5px; width: 250px;"></div>
				<div>
					<h21>
					活动:
					</h21>
					(总共：100)
				</div>

				<div class="side_content fr"
					style="background-color: ; width: 200px; border-top: 1px solid #AEAEAE; height: 100px; wide: 100px;">

					<div id="followers">
						<ul class="follower_list cf" style="margin-bottom: 100px;">
							<!-- <li class="follower fl" title="卓远然"
								style="margin-right: 10px; margin-bottom: 10px;">
								<a href="/6141440164"> <img
										src="./profile_files/d29b322692eb441e92321870665e62a9.jpg"
										width="40" height="40"> <input type="hidden" name="id"
										value="6141440164"> </a>
								<div>
									卓远然
								</div>
							</li>
 -->
						</ul>

					</div>



				</div>


			</div>


			<div id="content"
				style="float: left; background-color: ; text-align: left;">



				<div id="footer" style="background-color:; height: 150px;width: 850px;">
					<div class="footer_content">
<s:form id="inputBox"  action="item_publish">
						<div class="contact_us">
							<div class="contact_img">
								<font size="2"><a href="1"><img style="h"
											src='<s:property value="@com.tank.util.TankUtil@getCurrentUser().photo"/>' width="50" height="50">
								</a>
								</font>
							</div>
							<div class="contact_info" style="width: 600px; height: 70px;">
								<font size="2">
								<textarea rows="" cols="" name="item.content"
										maxlength="140" style="border: 0pt none; width: 600px; height: 70px;"></textarea>
								</font>
		

								<div class="contact_arrow">

								</div>
							</div>
							<div
								style="height: 100px; width: 680px; background-color: ; padding-top: 10px;">
								<font size="2"><input type="submit" value="发表"
										class="fr send send_comment"
										style="border: 0pt none; background: transparent url(./user_center_files/sub-btn-64-23-20111101.png) repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; width: 64px; height: 23px; line-height: 23px; cursor: pointer; color: rgb(255, 255, 255);">
								</font>
							</div>
						</div>
</s:form>
<script type="text/javascript">
$(function() {
	$('#inputBox').submit(function(){
		
		alert($(this).serialize());
		item_publish
		return false;
	});
});
</script>

						
					</div>
					<div>
							<font size="2"><img alt=""
									src="./user_center_files/bar/upload.gif"
									style="height: 57px; float: right; margin-top: 20px;">
							</font>
						</div>
					
				</div>
				<div style="height: 40px;"></div>
				<div style="">
				<div style="width: 700px;background-color:;text-align: left;margin: 0 auto;">
					
					<div
						style="float: left; width: 95px; height: 40px; text-align: left;margin: 0 auto;position:absolute; left: 290px;">
						<div>
							<div style="background-color:#952C2B ; height: 5px; width: 90px;"></div>
							<h21>
							物品动态
							</h21>
						</div>
						

					</div>
						<div
						style="float: left; width: 95px; height: 40px; text-align: left;margin: 0 auto;position:absolute; left: 390px;">
						<div>
							<div style="background-color: ; height: 5px; width: 90px;"></div>
							<h21>
							需求动态
							</h21>
						</div>
						

					</div>
					
					
					
					
					
					
					
					<h2></h2>
					</div>
</div>









	
	
	
	<s:iterator value="pager.data">
			
	
	
	
	
	<div class="item cf">
						<div class="user-img fl">
							<a href="/9116158548" title="汤小元"> <img
									src="<s:property value="author.photo"/>"
									class="to_popup" width="40" height="40"> <input
									type="hidden" name="id" value="9116158548"> </a>
						</div>
						<div class="item-right fl">
							<div class="course-fresh">
								<div class="cf">
									<div class="username fl">
										<a href="<s:property value="author.id"/>" title="<s:property value="author.name"/>"><s:property value="author.name"/></a>
										<span>:</span>
										<span><s:property value="formatContent" escapeHtml="false"/></span>
									</div>
									<div class="time fr">
										<s:date name="pubtime" format="yyyy-MM-dd hh:mm:ss"/>
									</div>
								</div>
							</div>
							<div class="course-reply" style="display: none;"></div>
							
						
							
							
		<s:if test="parent != null">
			<s:if test="parent.hide">
				<div class="course-info cf">
					<p>对不起，原微博已删除！</p>
				</div>
			</s:if>
			<s:else>
				
					<div class="course-info cf">
								<a href="/room/7745654711"
									class="fl course-img"> 
														<p><a href="<s:property value="parent.author.id"/>"><s:property value="parent.author.name"/> </a>：发布于：<s:date name="parent.pubtime" format="yyyy-MM-dd hh:mm:ss"/>  </p>
									
									 </a>
								<div class="course-other-info">
														<p> <s:property value="parent.formatContent"  escapeHtml="false"/></p>
										<a href="item_transpond?transpond.parent.id=<s:property value="parent.id"/>&transpond.content=transpond">转发(<s:property value="transpondCount"/>)</a>
					<a href="item_comment?comment.parent.id=<s:property value="parent.id"/>">评论(<s:property value="parent.commentCount"/>)</a>
					<a href="item_favour?item.id=<s:property value="parent.id"/>">赞(<s:property value="parent.favourCount"/>)</a>
								</div>
								<div class="arrow-border"></div>
								<div class="arrow"></div>
							</div>
			</s:else>
		</s:if>
							<form action="item_comment" method="get">
			<input type="hidden" name="comment.parent.id" value="<s:property value="id"/>"/>
			<input type="text" name="comment.content" value=""/>
			<input type="submit" name="submit" value="评论" />
		</form>
		<form action="item_transpond" method="get">
			<input type="hidden" name="transpond.parent.id" value="<s:property value="id"/>"/>
			<input type="text" name="transpond.content"/>
			<input type="submit" name="submit" value="转发" />
		</form>
						</div>
						<!--end item-right-->
		</div>
	
	
	
	
	
	
	
	
	
	
	</s:iterator>
	
	<s:property value="pager.pagerHtml" escape="false"/>








					<div style="height: 50px;"></div>
					
				
					
					
					
					
					
					
					
					
					<div class="page_turn">
					</div>
					<input type="hidden" id="context-path" value="">
				</div>
				<!-- end content -->
			</div>
		</div>
		
		
		
		
		
		
		
		
		
		<div id="footer">
			<div class="footer_content">
				
				<div id="links_wrapper">
					<div class="sns_link">
						
					</div>
					<div class="about_link">
						<a href="http://weibo.com/duobei/" target="_blank">官方微博</a>
						<a href="/about" target="_blank">关于我们</a>
						<a href="/service/serviceContract"
							target="_blank" id="service_contract">协议确认</a>
						<a href="http://www.miibeian.gov.cn/" target="_blank">京ICP证110831</a>
						<span>京网安备11010802009904</span>
					</div>
				</div>
			</div>
			<div id="global_paths" style="display: none;">
				<input type="hidden" id="context_path" value="">
				<input type="hidden" id="images_path" value="http://img.duobei.com">
				<input type="hidden" id="course_img_path"
					value="http://course-img.duobei.com">
				<input type="hidden" id="avatar_path"
					value="http://avatar.duobei.com">
			</div>
		</div>

		<script src="./user_center_files/wokaobox.min.js"
			type="text/javascript" charset="utf-8">
</script>
		<script src="./user_center_files/global.js" type="text/javascript"
			charset="utf-8">
</script>
		<script type="text/javascript">
jQuery.global.init();</script>

		<script src="./user_center_files/message-zh.js" type="text/javascript"
			charset="utf-8">
</script>
		<div style="display: none;">
			<img src="./user_center_files/piwik.php" style="border: 0" alt="">
		</div>
		
		<script src="./user_center_files/jquery.cookie.js"
			type="text/javascript" charset="utf-8">
</script>
		<script src="./user_center_files/avatarPopup.js"
			type="text/javascript" charset="utf-8">
</script>
		<script src="./user_center_files/fresh_news.js" type="text/javascript"
			charset="utf-8">
</script>
		<script language="javascript">
$(function() {
	$("#content").isFreshNews().avatarPopup();
});
</script>

		<div class="popup_layer" id="pre_popup_layer" style="display: none;">
			<table>
				<tbody>
					<tr>
						<td class="pop_top_l"></td>
						<td class="pop_top_c" width="255px"></td>
						<td class="pop_top_r"></td>
					</tr>
					<tr>
						<td class="pop_mid_l"></td>
						<td class="pop_mid_c">
							<div>
								<dl class="pop_body">
									<dt></dt>
									<dd>
										正在努力加载中...请耐心等待...
									</dd>
								</dl>
								<div class="pop-layer-arrow pop-arrow-position"></div>
							</div>
						</td>
						<td class="pop_mid_r"></td>
					</tr>
					<tr>
						<td class="bottom_l"></td>
						<td class="bottom_c"></td>
						<td class="bottom_r"></td>
					</tr>
				</tbody>
			</table>
		</div>
		<div id="user_popup_layer"></div>
	</body>
</html>

